"use strict";
cc._RF.push(module, '8b525SQufNJM5WM36AXKDGf', 'EventManager');
// Script/Managers/EventManager.ts

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dispatchEvent = exports.addListener = void 0;
var systemEvent = cc.systemEvent;
function addListener(eventName, callback, target) {
    if (target === void 0) { target = null; }
    systemEvent.on(eventName, callback, target);
}
exports.addListener = addListener;
function dispatchEvent(eventName, userData) {
    if (userData === void 0) { userData = null; }
    var event = new cc.Event.EventCustom(eventName, false);
    event.setUserData(userData);
    systemEvent.dispatchEvent(event);
}
exports.dispatchEvent = dispatchEvent;

cc._RF.pop();